package com.whq.mvc.base.collection;

import java.util.ArrayList;
import java.util.List;

public class ListDemo {

    public static void main(String[] args) {
        List list = new ArrayList<String>();
        list.add(null);
        list.add(null);

        boolean contains = list.contains(null);
        boolean remove = list.remove(null);
        System.out.println(list.size());
    }
}
